package a13_ArrayListTel;

/**
 * @Author quan
 * @Description 手机类
 * @Date 2023/1/31 15:19
 */
public class Phone {
    private String brand;
    private int price;

    public Phone() {

    }
    public Phone(String brand, int price) {
        this.brand = brand;
        this.price = price;
    }

    public String getBrand() {
        return brand;
    }

    public void setBrand(String brand) {
        this.brand = brand;
    }

    public int getPrice() {
        return price;
    }

    public void setPrice(int price) {
        this.price = price;
    }
}
